﻿//        Another Demo from Andy L. & MissedMemo.com
// Borrow whatever code seems useful - just don't try to hold
// me responsible for any ill effects. My demos sometimes use
// licensed images which CANNOT legally be copied and reused.

using MissedMemo.MeatAndCheeseDisc.OrderEntryDataAccess;


namespace MissedMemo.MeatAndCheeseDisc.OrderEntryService.OrderProcessing
{
    public abstract partial class OrderItem
    {
        public virtual OrderItem Clone()
        {
            return (OrderItem)MemberwiseClone();
        }


        public virtual void UpdatePrice()
        {
            Price = LookupMenuItem.GetPrice( Type, Size );
        }
    }
}
